#ifndef __storeCarInf_H
#define __storeCarInf_H


#ifdef __cplusplus
extern "C" {
#endif 

#include "gd32e10x.h"

typedef struct
{
	uint8_t accOffSta;		//熄火标记
	uint8_t powerOffSta;	//断电标记
	
	uint8_t accStoreSta;	//点火时存储标记
	uint32_t SecCntOld;
	
	
	
}checkSaveCarInf_TypeDef;


void regularCheckSaveCarInf(void);
void saveCarInf(void);
void getCarInf(void);
void clearCarInf(void);

typedef struct 
{
//--------------------------------------
	u8 dev_id[8];
	u8 car_id[8];
	u8 ble_mac[8];
	u8 ccid_in[20];
	u8 ccid_out[20];
	u8 reserve[40];
}printinfo_t;
uint32_t saveprintinfo_t(printinfo_t *pMsg);
uint32_t getprintinfo_t(printinfo_t *pMsg);

#ifdef __cplusplus
}
#endif


#endif



